home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / glibc-1.09 / glibc-1 / glibc-1.09.1 / NEWS < prev    next >
Encoding:
Text File  |  1994-10-11  |  11.8 KB  |  280 lines

  1. GNU C Library NEWS -- history of user-visible changes.  10 October 1994
  2.  
  3. Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  4. See the end for copying conditions.
  5.  
  6. Please send GNU C library bug reports to bug-glibc@prep.ai.mit.edu.
  7.  
  8. Version 1.09
  9.  
  10. * For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
  11.  
  12. * New header file <fstab.h> and new functions `getfsspec', `getfsent' and
  13.   friends, for parsing /etc/fstab.  This code comes from 4.4 BSD.
  14.  
  15. * The new function `daemon' from 4.4 BSD is useful for server programs that
  16.   want to put themselves in the background.
  17.  
  18. * Joel Sherrill has contributed support for several standalone boards that
  19.   run without an operating system.
  20.  
  21. * `printf', `scanf' and friends now accept a `q' type modifier for long
  22.   long int as well as `ll'.  Formats using these might be `%qu' or `%lld'.
  23.  
  24. * All of the code taken from BSD (notably most of the math and networking
  25.   routines) has been updated from the BSD 4.4-Lite release.
  26.  
  27. * The resolver code has been updated from the BIND-4.9.3-BETA9 release.
  28.  
  29. * The new functions `getdomainname' and `setdomainname' fetch or change the
  30.   YP/NIS domain name.  These are system calls which exist on systems which
  31.   have YP (aka NIS).
  32.  
  33. * The time zone data files have been updated for the latest international
  34.   conventions.
  35.  
  36. * The SunRPC programs `portmap' and `rpcinfo' are now installed in
  37.   $(sbindir) (usually /usr/local/sbin) instead of $(bindir).
  38.  
  39. Version 1.08
  40.  
  41. * The C library now includes support for Sun RPC, from Sun's free
  42.   RPCSRC-4.0 distribution.  The `portmap', `rpcinfo', and `rpcgen' programs
  43.   are included.  (There is still no support for YP.)
  44.  
  45. * Tom Quinn has contributed a port of the C library to SGI machines running
  46.   Irix 4 (mips-sgi-irix4).
  47.  
  48. * The new `lockf' function is a simplified interface to the locking
  49.   facilities of `fcntl', included for compatibility.
  50.  
  51. * New time functions `timegm', `timelocal', and `dysize' for compatibility.
  52.  
  53. * New header file <sys/timeb.h> and new function `ftime' for compatibility.
  54.  
  55. * New header files <poll.h> and <sys/poll.h> and new function `poll' for
  56.   compatibility.
  57.  
  58. * The error message printed by `assert' for a failed assertion now includes
  59.   the name of the program (if using GNU ld) and the name of the calling
  60.   function (with versions of GCC that support this).
  61.  
  62. * The `psignal' function is now declared in <signal.h>, not <stdio.h>.
  63.  
  64. * The library now includes the <sys/mman.h> header file and memory
  65.   management functions `mmap', `munmap', `mprotect', `msync', and
  66.   `madvise', on systems that support those facilities.
  67.  
  68. * The interface for `mcheck' has changed slightly: the function called to
  69.   abort the program when an allocation inconsistency is detected now takes
  70.   an argument that indicates the type of failure.  The new function
  71.   `mprobe' lets you request a consistency check for a particular block at
  72.   any time (checks are normally done only when you call `free' or `realloc'
  73.   on a block).
  74.  
  75. * It is now possible to easily cross-compile the C library, building on one
  76.   system a library to run on another machine and/or operating system.  All
  77.   you need to do is set the variable `HOST_CC' in `configparms' to the
  78.   native compiler for programs to run on the machine you are building on (a
  79.   few generator programs are used on Unix systems); set `CC' to the
  80.   cross-compiler.
  81.  
  82. * The new function `fexecve' (only implemented on the GNU system) executes
  83.   a program file given a file descriptor already open on the file.
  84.  
  85. Version 1.07
  86.  
  87. * Brendan Kehoe has contributed most of a port to the DEC Alpha
  88.   running OSF/1 (alpha-dec-osf1).  He says it is 75% complete.
  89.  
  90. * You can set the variable `libprefix' in `configparms' to specify a prefix
  91.   to be prepended to installed library files; this makes it easy to install
  92.   the GNU C library to be linked as `-lgnuc' or whatever.
  93.  
  94. * The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
  95.   copies a limited number of characters from a string, and returns the
  96.   address of the last character written.
  97.  
  98. * You no longer need to check for whether the installed `stddef.h' is
  99.   compatible with the GNU C library.  configure now checks for you.
  100.  
  101. * You can now define a per-stream `fileno' function to convert the
  102.   stream's cookie into an integral file descriptor.
  103.  
  104. * ``malloc (0)'' no longer returns a null pointer.  Instead, it
  105.   allocates zero bytes of storage, and returns a unique pointer which
  106.   you can pass to `realloc' or `free'.  The behavior is undefined if
  107.   you dereference this pointer.
  108.  
  109. * The C library now runs on Sony NEWS m68k machines running either
  110.   NewsOS 3 or NewsOS 4.
  111.  
  112. * The new `syscall' function is a system-dependent primitive function
  113.   for invoking system calls.  It has the canonical behavior on Unix
  114.   systems, including unreliable return values for some calls (such as
  115.   `pipe', `fork' and `getppid').
  116.  
  117. * The error code `EWOULDBLOCK' is now obsolete; it is always defined
  118.   to `EAGAIN', which is the preferred name.  On systems whose kernels
  119.   use two distinct codes, the C library now translates EWOULDBLOCK to
  120.   EAGAIN in every system call function.
  121.  
  122. Version 1.06
  123.  
  124. * The GNU C Library Reference Manual is now distributed with the library.
  125.   `make dvi' will produce a DVI file of the printed manual.
  126.   `make info' will produce Info files that you can read on line using C-h i
  127.   in Emacs or the `info' program.
  128.   Please send comments on the manual to bug-glibc-manual@prep.ai.mit.edu.
  129.  
  130. * The library now supports SVR4 on i386s (i386-unknown-sysv4).
  131.  
  132. * Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
  133.  
  134. * Jason Merrill has contributed a port to the Sequent Symmetry running
  135.   Dynix version 3 (i386-sequent-dynix).
  136.  
  137. * The library has been ported to i386s running SCO 3.2.4 (also known as SCO
  138.   ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
  139.  
  140. * New function `memory_warnings' lets you arrange to get warnings when
  141.   malloc is running out of memory to allocate, like Emacs gives you.
  142.  
  143. * The C library now contains the relocating allocator used in Emacs 19 for
  144.   its editing buffers.  This allocator (ralloc) minimizes allocation
  145.   overhead and fragmentation by moving allocated regions around whenever it
  146.   needs to.  You always refer to a ralloc'd region with a "handle" (a
  147.   pointer to a pointer--an object of type `void **').
  148.  
  149. * There is a new `printf' format: `%m' gives you the string corresponding
  150.   to the error code in `errno'.
  151.  
  152. * In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
  153.   or `%[' conversion, but instead of filling in a fixed-sized buffer you
  154.   pass, the `a' modifier says to fill in a `char **' you pass with a
  155.   malloc'd string.
  156.  
  157. * The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
  158.   `FNM_CASEFOLD'.  `FNM_LEADING_DIR' lets a pattern like `foo*' match a
  159.   name like `foo/bar'.  `FNM_CASEFOLD' says to ignore case in matching.
  160.  
  161. * `mkstemp' is a traditional Unix function to atomically create and open a
  162.   uniquely-named temporary file.
  163.  
  164. Version 1.05
  165.  
  166. * The standard location for the file that says what the local timezone is
  167.   has changed again.  It is now `/usr/local/etc/localtime' (or more
  168.   precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
  169.  
  170. * The distribution no longer contains any files with names longer than 14
  171.   characters.
  172.  
  173. * `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
  174.   These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
  175.  
  176. * New functions `ttyslot' and `syslog' from 4.4 BSD.
  177.  
  178. Version 1.04
  179.  
  180. * The configuration process has changed quite a bit.  The `configure'
  181.   script is now used just like the configuration scripts for other GNU
  182.   packages.  The `sysdeps' directory hierarchy is much rearranged.
  183.   The file `INSTALL' explains the new scheme in detail.
  184.  
  185. * The header files no longer need to be processed into ANSI C and
  186.   traditional C versions.  There is just one set of files to install, and
  187.   it will work with ANSI or old C compilers (including `gcc -traditional').
  188.  
  189. * Brendan Kehoe and Ian Lance Taylor have ported the library to the
  190.   MIPS DECStation running Ultrix 4.
  191.  
  192. * The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
  193.   Tom Quinn contributed the initial code.  The GNU C library can NOT yet be
  194.   made itself into a shared library.
  195.  
  196. * Yet further improved support for the i386, running 4.3 BSD-like systems
  197.   (such as Mach 3 with the Unix single-server), or System V.
  198.  
  199. * New function `strncasecmp' to do case-insensitive string comparison
  200.   with limited length.
  201.  
  202. * New function `strsep' is a reentrant alternative to `strtok'.
  203.  
  204. * New functions `scandir' and `alphasort' for searching directories.
  205.  
  206. * New function `setenv' is a better interface to `putenv'.
  207.  
  208. * Ian Lance Taylor has contributed an implementation of the SVID `ftw'
  209.   function for traversing a directory tree.
  210.  
  211. * The GNU obstack package is now also part of the C library.
  212.   The new function `open_obstack_stream' creates a stdio stream that
  213.   writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
  214.   formatted output directly to an obstack.
  215.  
  216. * Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
  217.   cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
  218.  
  219. * `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
  220.  
  221. * The new functions `strfry' and `memfrob' do mysterious and wonderful
  222.   things to your strings.
  223.  
  224. * There are some new test programs: test-fseek, testmb, and testrand.
  225.  
  226. * Some work has been done to begin porting the library to 4.4 BSD and Linux.
  227.   These ports are not finished, but are a good starting place for really
  228.   supporting those systems.
  229.  
  230. * `/etc/localtime' is now the standard location for the file that says what
  231.   the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
  232.   This follows the general principle that `/etc' is the place for all local
  233.   configuration files.
  234.  
  235. * The C library header files now use `extern "C"' when used by the C++
  236.   compiler, so the C library should now work with C++ code.
  237.  
  238. * The header file <bstring.h> is gone.  <string.h> now declares bcopy,
  239.   bcmp, bzero, and ffs.  
  240.  
  241. * Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
  242.   function which uses the `merge sort' algorithm, and is said to be
  243.   significantly faster than the old GNU `qsort' function.  Merge sort is
  244.   now the standard `qsort' function.  The new algorithm can require a lot
  245.   of temporary storage; so, the old sorting function is called when the
  246.   required storage is not available.
  247.  
  248. * The C library now includes Michael Glad's Ultra Fast Crypt, which
  249.   provides the Unix `crypt' function, plus some other entry points.
  250.   Because of the United States export restriction on DES implementations,
  251.   we are distributing this code separately from the rest of the C library.
  252.   There is an extra distribution tar file just for crypt; it is called
  253.   `glibc-VERSION-crypt.tar.Z', e.g. `glibc-1.04-crypt.tar.Z'.  You can just
  254.   unpack the crypt distribution along with the rest of the C library and
  255.   build; you can also build the library without getting crypt.  Users
  256.   outside the USA can get the crypt distribution via anonymous FTP from
  257.   ftp.uni-c.dk [129.142.6.74], or another archive site outside the U.S.
  258.  
  259. * The code and header files taken from 4.4 BSD have been updated with the
  260.   latest files released from Berkeley.
  261.  
  262. ----------------------------------------------------------------------
  263. Copyright information:
  264.  
  265. Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  266.  
  267.    Permission is granted to anyone to make or distribute verbatim copies
  268.    of this document as received, in any medium, provided that the
  269.    copyright notice and this permission notice are preserved,
  270.    thus giving the recipient permission to redistribute in turn.
  271.  
  272.    Permission is granted to distribute modified versions
  273.    of this document, or of portions of it,
  274.    under the above conditions, provided also that they
  275.    carry prominent notices stating who last changed them.
  276.  
  277. Local variables:
  278. version-control: never
  279. end:
  280.